﻿using System;

namespace SZSLSystem.Model
{
    ///<summary>
    ///实体类 组织机构
    ///</summary>
    [Serializable]
    public class Organization
    {
        public Organization() 
        {
        
        }

        #region Model

        private Guid _id;
        private string _organizationname;
        private Guid? _parentid;
        private int _classlayer;
        private string _description;
        private int _sort;
        private DateTime _adddate;

        public Guid ID
        {
            set { _id = value; }
            get { return _id; }
        }
        public string OrganizationName
        {
            set { _organizationname = value; }
            get { return _organizationname; }
        }
        public Guid? ParentID
        {
            set { _parentid = value; }
            get { return _parentid; }
        }
        public int ClassLayer
        {
            set { _classlayer = value; }
            get { return _classlayer; }
        }
        public string Description
        {
            set { _description = value; }
            get { return _description; }
        }
        public int Sort
        {
            set { _sort = value; }
            get { return _sort; }
        }
        public DateTime AddDate
        {
            set { _adddate = value; }
            get { return _adddate; }
        }
        #endregion Model
    }
}